package cn.village.dao;
import cn.village.entity.LoanContract;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface LoanContractMapper {

	public LoanContract getLoanContractById(@Param(value = "id") String id)throws Exception;

	public List<LoanContract>	getLoanContractListByMap(Map<String,Object> param)throws Exception;

	public Integer getLoanContractCountByMap(Map<String,Object> param)throws Exception;

	public Integer insertLoanContract(LoanContract loanContract)throws Exception;

	public Integer updateLoanContract(LoanContract loanContract)throws Exception;

	public Integer deleteLoanContractById(@Param(value = "id") String id)throws Exception;

	public Integer batchDeleteLoanContract(Map<String,List<String>> params);

}